<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h1>学生详情</h1>
<table border="1" align="center">
    <tr>
        <td>学号</td><td th:text="${students.id}"></td>
    </tr>
    <tr>
        <td>姓名</td><td th:text="${students.name}"></td>
    </tr>
    <tr>
        <td>年龄</td><td th:text="${students.age}"></td>
    </tr>
    <tr>
        <td>性别</td><td th:text="${students.gender}"></td>
    </tr>
    <tr>
        <td>借书证信息</td>
        <td><table>
            <tr><td>借书证号</td><td th:text="${students.libraryCard.id}"></td></tr>
            <tr><td>借书证状态</td><td th:text="${students.libraryCard.creditNum}"></td></tr>
        </table></td>
    </tr>
</table>

</body>
</html>